package com.gwd.task.services;

import com.gwd.task.model.CodeSubmitRecordDTO;
import com.gwd.task.model.transfer.RepositoryInterface;

import java.util.List;

/**
 * @author zhiyongming
 * @date 2020/12/22 10:07
 */
public interface CodeSubmitRecordServer {
    void save(CodeSubmitRecordDTO dto);
    void mergerCode(List<Long> ids, Long userId);
    List<CodeSubmitRecordDTO> findByRepository(Long repId, Long projectId);
    List<CodeSubmitRecordDTO> findByRepository(Long repId);
    List<RepositoryInterface> getRepositoryCount();
    void board(Long crId);
}
